*: Fix various clippy warnings#2900
Conversation
thomaseizinger
left a comment
There was a problem hiding this comment.
Thank you!
We do run clippy in CI but with a reduced set of lints. Can we perhaps narrow that set down, now that we have fixed a couple more?
|
Yes we could do that. I'm wondering why clippy doesn't pick that up now. I think it might be because the actions still use actions-rs which is not really necessary anymore, since Rust comes with the runners now and actions-rs might be outdated. I could make an additional PR updating the Workflows. Many projects also include some lints from the restriction group. This could be considered. |
Feel free, I am always in favor of using tooling better.
Feel free to open an issue with a list of suggestions so we can discuss it :) |
mxinden
left a comment
There was a problem hiding this comment.
Thanks @umgefahren.
I will merge here, assuming that the above follow-ups happen in separate pull requests.
|
Ignoring Testground failures for now. See libp2p/test-plans#41. |
Description
I just implemented some changes suggested by clippy.
Links to any relevant issues
Open Questions
Change checklist